package actions;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.actions.DispatchAction;

public class LinkAction extends DispatchAction {

	public ActionForward admin(ActionMapping mapping, ActionForm arg1,
			HttpServletRequest arg2, HttpServletResponse arg3) throws Exception {
		return mapping.findForward("admin");
	}

	public ActionForward usermanager(ActionMapping mapping, ActionForm arg1,
			HttpServletRequest arg2, HttpServletResponse arg3) throws Exception {
		return mapping.findForward("usermanager");
	}

	public ActionForward employeemanager(ActionMapping mapping,
			ActionForm arg1, HttpServletRequest arg2, HttpServletResponse arg3)
			throws Exception {
		return mapping.findForward("employeemanager");
	}

	public ActionForward doctor(ActionMapping mapping, ActionForm arg1,
			HttpServletRequest arg2, HttpServletResponse arg3) throws Exception {
		return mapping.findForward("doctor");
	}

}
